import { httppost } from "@/plugins/request/getSignRequest"
//服务预约订单打印
export function getOrderDetailList(data) {
  return httppost({
    URL: "/shop/order/getOrderDetailList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}

export function getServiceOrderList(data) {
  return httppost({
    URL: "/shop/order/getServiceOrderList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}

export function getServiceOrderAdminList(data) {
  return httppost({
    URL: "/shop/order/getServiceOrderAdminList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//管理员同意取消，或者完成订单
export function updateServiceOrderAdmin(data) {
  return httppost({
    URL: "/shop/order/updateServiceOrderAdmin",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//根据id查询订单详情
export function getOrderDetailListId(data) {
  return httppost({
    URL: "/shop/order/getOrderDetailListId",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//管理员拒绝同意取消加理由
export function updateServiceOrderAdminNot(data) {
  return httppost({
    URL: "/shop/order/updateServiceOrderAdminNot",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
//用户查询订单信息
export function getServiceOrderUserList(data) {
  return httppost({
    URL: "/shop/order/getServiceOrderUserList",
    JSONStr:data,
    sign: "WuHanBenSenCoLid"
  })
}
